package gui;

import main.Session;
import main.SharedPref;

import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Text;
import org.eclipse.wb.swt.SWTResourceManager;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.custom.StackLayout;
import org.eclipse.swt.widgets.Event;
import org.eclipse.swt.widgets.List;
import org.eclipse.swt.widgets.Listener;
import org.eclipse.swt.widgets.Spinner;
import org.eclipse.swt.widgets.Table;
import org.eclipse.swt.widgets.Canvas;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.TableColumn;
import org.eclipse.swt.widgets.DateTime;
import org.eclipse.swt.events.MouseAdapter;
import org.eclipse.swt.events.MouseEvent;
import org.eclipse.swt.events.TouchEvent;
import org.eclipse.swt.events.TouchListener;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.widgets.Combo;
import org.eclipse.swt.custom.ScrolledComposite;

public class GUI {

	protected Shell shell;
	protected Composite Login;
	protected Composite register;
	protected Composite mainScreen;
	protected Composite game;
	protected Composite game_answer_consol;
	protected Text login_username_enter;
	protected Text login_password_enter;
	protected Label login_Welcome;
	protected Label login_username_static;
	protected Text login_password_static;
	protected Text regis_firstname_static;
	protected Text regis_firstname_enter;
	protected Text regis_lastname_static;
	protected Text regis_lastname_enter;
	protected Text regis_username_enter;
	protected Text regis_username_static;
	protected Text regis_password1_enter;
	protected Text regis_password1_static;
	protected Text regis_password2_static;
	protected Text regis_password2_enter;
	protected Label regis_Registration;
	protected Button regisbackBTN;
	protected Button regisConinueBTN;
	protected Button loginRegisterBTN;
	protected Button loginLoginBTN;
	protected Button mainProfileBTN;
	protected Button mainStartLevelBTN;
	protected StackLayout layout = null;
	protected Display display;
	protected Label gameTimer;
	protected Label game_question;
	protected Composite statistics;
	protected Button stats_continue;
	protected Composite nextLevel;
	protected Button nextLevel_nextBTN;
	protected Button mainLogoutBTN;
	protected Composite startGameScreen;
	protected Label start_game_infoLBL;
	protected Button start_game_startBTN;
	protected Label nextLevel_loadingLBL;
	protected Label start_game_loadingLBL;
	protected Button mainStartLongBTN;
	protected Composite loadingQuestion;
	protected Button loadingQuestion_continue;
	protected Label loadingQuestion_loadingLBL;
	protected Label login_loadingLBL;
	protected Label regis_availabilityLBL;
	protected Label regis_loadingLBL;
	protected Composite profile;
	protected Button mainEditDbBTN;
	protected Composite editDB;
	protected Button editDB_returnBTN;
	protected Table userManagment_userTBL;
	protected Composite userManagment;
	protected Label main_editDBloadingLBL;
	protected Button userMan_commitBTN;
	protected Composite editTV;
	private Label editTV_programNameLBL;
	private Label editTV_firstDateLBL;
	protected Text editTV_programNameTXT;
	protected Text editTV_countryTXT;
	protected List editTV_countryListcomLST;
	protected Spinner editTV_firstDateDT;
	protected Spinner editTV_lastDateDT;
	protected Spinner editTV_numOfEpisodeSPN;
	protected Spinner editTV_numOfSeasonsSPN;
	protected Button editTV_commitBTN;
	protected Composite searchENG;
	protected Text searchENG_searchTXT;
	protected Button searchENG_filmBTN;
	protected Button searchENG_programBTN;
	protected Button searchENG_actorBTN;
	protected Button searchENG_programCeatorBTN;
	protected Button searchENG_filmDirectorBTN;
	protected Button searchENG_GoBTN;
	protected Table searchENG_filmTBL;
	private TableColumn searchENG_filmNameTBL;
	private TableColumn searchENG_filmreleaseTBL;
	protected Table searchENG_tvTBL;
	private TableColumn searchENG_TVnameTBL;
	private TableColumn searchENG_TVdateTBL;
	protected Table searchENG_actorTBL;
	private TableColumn searchENG_actorNameTBL;
	private TableColumn searchENG_actorknownTBL;
	protected Table editTV_actorsTBL;
	protected Table editTV_creatorsTBL;
	private TableColumn tblclmnCreator;
	protected Button editTV_addActorBTN;
	protected Button editTV_cencelBTN;
	protected Button editTV_addCreatorBTN;
	protected Composite editTV_searchActorComp;
	protected Button mainSearchBTN;
	protected Composite editTV_searchCreatorComp;
	protected Button searchENG_createFilmBTN;
	protected Button searchENG_createProgramBTN;
	protected Button searchENG_createActorBTN;
	protected Composite editMovie;
	protected Spinner editFilm_releaseDateDT;
	protected Spinner editFilm_estimatedSPN;
	protected Text editFilm_filmNameTXT;
	protected Text editFilm_originCountryTXT;
	protected Button editFilm_commitBTN;
	protected Table editFilm_ActorTBL;
	protected Button editFilm_addActorBTN;
	protected Button editFilm_cencelBTN;
	protected Table editFilm_directorsTBL;
	protected Button editFilm_addDirectorBTN;
	protected Text editFilm_sequelTXT;
	protected Text editFilm_prequelTXT;
	protected Composite editFilm_searchActorComp;
	protected Composite editFilm_searchDirectorComp;
	protected Composite editFilm_searchFilmComp;
	protected List editFilm_countryListcomLST;
	protected Composite searchENG_addPerson;
	protected Button searchENG_returnBTN;
	protected Button mainManageUsersBTN;
	protected Canvas login_loaderCNVS;
	protected Label nextLevel_infoLBL;
	protected Label stats_statsLBL;
	protected Button userMan_refreshBTN;
	private Label useMan_titleLBL;
	protected Button userMan_returnBTN;
	protected Label editDB_infoLBL;
	protected Button editDB_clearBTN;
	protected Button editDB_updateBTN;
	protected Button editDB_enterBTN;
	protected Label profile_infoLBL;
	protected Button profile_returnBTN;
	protected Button profile_changePassBTN;
	protected Composite profile_changePassCOMP;
	protected Button profile_cancelBTN;
	protected Button profile_commitBTN;
	protected Text profile_oldPassTXT;
	protected Text profile_newPassTXT;
	protected Text profile_RenewPassTXT;
	protected Table searchENG_creatorTBL;
	protected Button searchENG_createCreatorBTN;
	protected Table searchENG_directorTBL;
	protected Button searchENG_createDirectorBTN;
	private Label lblEditFilm;
	protected Canvas regis_loadingCNVS;
	protected Canvas stats_loadingCNVS;
	protected Label stats_updateLBL;
	private Canvas nextLevel_loadingCNVS;
	private Canvas start_game_loadingCNVS;
	private Canvas loadingQuestion_loadingCNVS;
	protected Canvas profile_loadingCNVS;
	protected Canvas userMan_loadingCNVS;
	protected Canvas editTV_loadingCNVS;
	protected Canvas editFilm_loadingCNVS;
	protected Canvas searchENG_loadingCNVS;
	protected Label mainAdminTitleLBL;
	protected Canvas editDB_loadingCNVS;
	protected Composite loadingConnection;
	protected Canvas loading_loaderCNVS;
	protected Canvas editDB_longLoadingCNVS;
	protected Label editDB_loadingLBL;
	protected Text editFilm_actorCharaterNameTXT;
	protected Button editFilm_setNameBTN;
	protected Button editTV_setNameBTN;
	protected Text editTV_actorCharaterNameTXT;

	public GUI() {
		display = Display.getDefault();
		createContents();
	}

	/**
	 * Open the window.
	 */
	public void open() {

		shell.open();
		shell.layout();
		while (!shell.isDisposed()) {
			if (!display.readAndDispatch()) {
				display.sleep();
			}
		}

		Session.pool.close();
		Session.poolForLogin.close();
		Session.poolTheQuestions.close();
		Session.poolForSearch.close();
		if (Session.connectionPool != null)
			Session.connectionPool.closeConnections();
		display.dispose();
		System.exit(0);

	}

	/**
	 * Create contents of the window.
	 */
	protected void createContents() {
		shell = new Shell(SWT.CLOSE | SWT.TITLE | SWT.MIN);
		shell.setTouchEnabled(true);
		shell.setSize(250, 250);
	//	if (!SharedPref.DEBUG)
		//	shell.setSize(1024, 768);
		shell.setText("Chain game");

		layout = new StackLayout();
		shell.setLayout(layout);

		// //////////////////////////

		display.addFilter(SWT.MouseDown, new Listener() {

			@Override
			public void handleEvent(Event arg0) {
				if (!(editTV_countryTXT.isFocusControl() || editTV_countryListcomLST
						.isFocusControl()))
					editTV_countryListcomLST.setVisible(false);
				if (!(editFilm_originCountryTXT.isFocusControl() || editFilm_countryListcomLST
						.isFocusControl()))
					editTV_countryListcomLST.setVisible(false);

			}
		});

		display.addFilter(SWT.KeyDown, new Listener() {

			@Override
			public void handleEvent(Event arg0) {

				switch (arg0.character) {
				case '\'':
					arg0.doit = false;
					;
					break;
				case '~':
					arg0.doit = false;
					;
					break;
				case '`':
					arg0.doit = false;
					;
					break;
				case '!':
					arg0.doit = false;
					;
					break;
				case '@':
					arg0.doit = false;
					;
					break;
				case '#':
					arg0.doit = false;
					break;
				case '$':
					arg0.doit = false;
					break;
				case '%':
					arg0.doit = false;
					break;
				case '^':
					arg0.doit = false;
					break;
				case '&':
					arg0.doit = false;
					break;
				case '*':
					arg0.doit = false;
					break;
				case '(':
					arg0.doit = false;
					break;
				case ')':
					arg0.doit = false;
					break;
				case '/':
					arg0.doit = false;
					break;
				case '\\':
					arg0.doit = false;
					break;
				}
			}
		});

		// ///////////////////////////

		mainScreen = new Composite(shell, SWT.NONE);
		mainScreen.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		mainProfileBTN = new Button(mainScreen, SWT.NONE);
		mainProfileBTN.setBounds(452, 324, 120, 50);
		mainProfileBTN.setText("Profile");

		mainStartLevelBTN = new Button(mainScreen, SWT.NONE);
		mainStartLevelBTN.setText("start Level mod");
		mainStartLevelBTN.setBounds(452, 194, 120, 50);

		mainLogoutBTN = new Button(mainScreen, SWT.NONE);
		mainLogoutBTN.setText("logout");
		mainLogoutBTN.setBounds(35, 36, 120, 50);

		mainStartLongBTN = new Button(mainScreen, SWT.NONE);
		mainStartLongBTN.setText("start Long mod");
		mainStartLongBTN.setBounds(452, 261, 120, 50);

		mainEditDbBTN = new Button(mainScreen, SWT.NONE);
		mainEditDbBTN.setText("Manage DB");
		mainEditDbBTN.setBounds(321, 550, 120, 50);

		main_editDBloadingLBL = new Label(mainScreen, SWT.NONE);
		main_editDBloadingLBL.setBounds(697, 355, 153, 20);
		main_editDBloadingLBL.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		mainSearchBTN = new Button(mainScreen, SWT.NONE);
		mainSearchBTN.setText("search DB");
		mainSearchBTN.setBounds(452, 550, 120, 50);

		mainManageUsersBTN = new Button(mainScreen, SWT.NONE);
		mainManageUsersBTN.setText("Manage users");
		mainManageUsersBTN.setBounds(583, 550, 120, 50);

		Label lblChains = new Label(mainScreen, SWT.NONE);
		lblChains.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));
		lblChains.setForeground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_INACTIVE_FOREGROUND));
		lblChains.setAlignment(SWT.CENTER);
		lblChains.setFont(SWTResourceManager
				.getFont("Segoe UI", 60, SWT.NORMAL));
		lblChains.setBounds(290, 10, 445, 130);
		lblChains.setText("CHAINS");

		mainAdminTitleLBL = new Label(mainScreen, SWT.NONE);
		mainAdminTitleLBL.setForeground(SWTResourceManager
				.getColor(SWT.COLOR_WIDGET_FOREGROUND));
		mainAdminTitleLBL.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));
		mainAdminTitleLBL.setFont(SWTResourceManager.getFont("Segoe UI", 16,
				SWT.NORMAL));
		mainAdminTitleLBL.setAlignment(SWT.CENTER);
		mainAdminTitleLBL.setBounds(402, 501, 220, 40);
		mainAdminTitleLBL.setText("Admin Console");

		Login = new Composite(shell, SWT.NONE);
		Login.setTouchEnabled(true);
		Login.setEnabled(true);
		Login.setLayout(null);
		Login.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));
		// ///////////////////////////////////////////

		login_loaderCNVS = new Canvas(Login, SWT.NONE);
		login_loaderCNVS.setBounds(496, 366, 32, 32);
		login_loaderCNVS.setVisible(false);

		loginRegisterBTN = new Button(Login, SWT.NONE);

		loginRegisterBTN.setLocation(651, 420);
		loginRegisterBTN.setSize(215, 40);
		loginRegisterBTN.setText("Register");

		loginLoginBTN = new Button(Login, SWT.NONE);
		loginLoginBTN.setFocus();
		loginLoginBTN.setLocation(402, 320);
		loginLoginBTN.setSize(220, 40);
		loginLoginBTN.setText("Login");

		login_username_enter = new Text(Login, SWT.BORDER);
		login_username_enter.setTextLimit(30);
		login_username_enter.setLocation(402, 191);
		login_username_enter.setSize(220, 40);
		login_username_enter.setTouchEnabled(true);
		login_username_enter.setFont(SWTResourceManager.getFont("Arial", 20,
				SWT.NORMAL));

		login_password_enter = new Text(Login, SWT.BORDER | SWT.PASSWORD);
		login_password_enter.setTextLimit(30);
		login_password_enter.setLocation(402, 269);
		login_password_enter.setSize(220, 40);
		login_password_enter.setTouchEnabled(true);
		login_password_enter.setFont(SWTResourceManager.getFont("Arial", 20,
				SWT.NORMAL));

		login_Welcome = new Label(Login, SWT.READ_ONLY | SWT.CENTER);
		login_Welcome.setLocation(262, 38);
		login_Welcome.setSize(500, 89);
		login_Welcome.setFont(SWTResourceManager.getFont("Segoe UI", 40,
				SWT.NORMAL));
		login_Welcome.setText("WELCOME!");
		login_Welcome.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		login_username_static = new Label(Login, SWT.READ_ONLY);
		login_username_static.setLocation(457, 156);
		login_username_static.setSize(110, 33);
		login_username_static.setFont(SWTResourceManager.getFont("Segoe UI",
				12, SWT.NORMAL));
		login_username_static.setText("User name");
		login_username_static.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		login_password_static = new Text(Login, SWT.READ_ONLY);
		login_password_static.setLocation(457, 234);
		login_password_static.setSize(110, 33);
		login_password_static.setText("Password");
		login_password_static.setFont(SWTResourceManager.getFont("Segoe UI",
				12, SWT.NORMAL));
		login_password_static.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		register = new Composite(shell, SWT.NONE);
		register.setTouchEnabled(true);
		register.setEnabled(true);
		register.setLayout(null);
		register.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		regis_loadingCNVS = new Canvas(register, SWT.NONE);
		regis_loadingCNVS.setVisible(false);
		regis_loadingCNVS.setBounds(636, 494, 32, 32);

		regis_Registration = new Label(register, SWT.READ_ONLY | SWT.CENTER);
		regis_Registration.setEnabled(false);
		regis_Registration.setText("REGISTRATION");
		regis_Registration.setFont(SWTResourceManager.getFont("Segoe UI", 40,
				SWT.NORMAL));
		regis_Registration.setBounds(237, 31, 550, 90);
		regis_Registration.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		regis_firstname_enter = new Text(register, SWT.BORDER);
		regis_firstname_enter.setTextLimit(30);
		regis_firstname_enter.setTouchEnabled(true);
		regis_firstname_enter.setFont(SWTResourceManager.getFont("Arial", 20,
				SWT.NORMAL));
		regis_firstname_enter.setBounds(262, 179, 220, 40);

		regis_lastname_enter = new Text(register, SWT.BORDER);
		regis_lastname_enter.setTextLimit(30);
		regis_lastname_enter.setTouchEnabled(true);
		regis_lastname_enter.setFont(SWTResourceManager.getFont("Arial", 20,
				SWT.NORMAL));
		regis_lastname_enter.setBounds(262, 285, 220, 40);

		regis_username_enter = new Text(register, SWT.BORDER);
		regis_username_enter.setTextLimit(30);

		regis_username_enter.setTouchEnabled(true);
		regis_username_enter.setFont(SWTResourceManager.getFont("Arial", 20,
				SWT.NORMAL));
		regis_username_enter.setBounds(542, 178, 220, 40);

		regis_password1_enter = new Text(register, SWT.BORDER | SWT.PASSWORD);
		regis_password1_enter.setTextLimit(30);
		regis_password1_enter.setTouchEnabled(true);
		regis_password1_enter.setFont(SWTResourceManager.getFont("Arial", 20,
				SWT.NORMAL));
		regis_password1_enter.setBounds(542, 285, 220, 40);

		regis_password2_enter = new Text(register, SWT.BORDER | SWT.PASSWORD);
		regis_password2_enter.setTextLimit(30);
		regis_password2_enter.setTouchEnabled(true);
		regis_password2_enter.setFont(SWTResourceManager.getFont("Arial", 20,
				SWT.NORMAL));
		regis_password2_enter.setBounds(542, 379, 220, 40);

		regis_firstname_static = new Text(register, SWT.READ_ONLY);
		regis_firstname_static.setEnabled(false);
		regis_firstname_static.setBounds(262, 145, 133, 43);
		regis_firstname_static.setFont(SWTResourceManager.getFont("Segoe UI",
				12, SWT.NORMAL));
		regis_firstname_static.setText("First name");
		regis_firstname_static.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		regis_lastname_static = new Text(register, SWT.READ_ONLY);
		regis_lastname_static.setEnabled(false);
		regis_lastname_static.setText("Last name");
		regis_lastname_static.setFont(SWTResourceManager.getFont("Segoe UI",
				12, SWT.NORMAL));
		regis_lastname_static.setEditable(false);
		regis_lastname_static.setBounds(262, 251, 133, 43);
		regis_lastname_static.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		regis_username_static = new Text(register, SWT.READ_ONLY);
		regis_username_static.setEnabled(false);
		regis_username_static.setText("User name");
		regis_username_static.setFont(SWTResourceManager.getFont("Segoe UI",
				12, SWT.NORMAL));
		regis_username_static.setEditable(false);
		regis_username_static.setBounds(542, 144, 133, 43);
		regis_username_static.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		regis_password1_static = new Text(register, SWT.READ_ONLY);
		regis_password1_static.setEnabled(false);
		regis_password1_static.setText("Enter Password");
		regis_password1_static.setFont(SWTResourceManager.getFont("Segoe UI",
				12, SWT.NORMAL));
		regis_password1_static.setEditable(false);
		regis_password1_static.setBounds(542, 251, 183, 43);
		regis_password1_static.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		regis_password2_static = new Text(register, SWT.READ_ONLY);
		regis_password2_static.setEnabled(false);
		regis_password2_static.setText("Renter Password");
		regis_password2_static.setFont(SWTResourceManager.getFont("Segoe UI",
				12, SWT.NORMAL));
		regis_password2_static.setEditable(false);
		regis_password2_static.setBounds(542, 345, 183, 43);
		regis_password2_static.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		regisbackBTN = new Button(register, SWT.NONE);
		regisbackBTN.setBounds(262, 451, 220, 40);
		regisbackBTN.setText("back");

		regisConinueBTN = new Button(register, SWT.NONE);
		regisConinueBTN.setText("continue");
		regisConinueBTN.setBounds(542, 451, 220, 40);

		regis_availabilityLBL = new Label(register, SWT.NONE);
		regis_availabilityLBL.setBounds(542, 224, 212, 21);
		regis_availabilityLBL.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		regis_loadingLBL = new Label(register, SWT.NONE);
		regis_loadingLBL.setForeground(SWTResourceManager
				.getColor(SWT.COLOR_RED));
		regis_loadingLBL.setBounds(542, 494, 240, 45);
		regis_loadingLBL.setVisible(false);
		regis_loadingLBL.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		login_loadingLBL = new Label(Login, SWT.NONE);
		login_loadingLBL.setAlignment(SWT.CENTER);
		login_loadingLBL.setForeground(SWTResourceManager
				.getColor(SWT.COLOR_RED));
		login_loadingLBL.setLocation(392, 366);
		login_loadingLBL.setSize(240, 45);
		login_loadingLBL.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		game = new Composite(shell, SWT.NONE);
		game.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		gameTimer = new Label(game, SWT.BORDER | SWT.WRAP | SWT.HORIZONTAL
				| SWT.CENTER);
		gameTimer.setFont(SWTResourceManager
				.getFont("Segoe UI", 40, SWT.NORMAL));
		gameTimer.setText("10");
		gameTimer.setBounds(884, 79, 100, 100);

		game_question = new Label(game, SWT.BORDER | SWT.HORIZONTAL);
		game_question.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_WIDGET_LIGHT_SHADOW));
		game_question.setText("test kslkksl;dsdsdsdsdsdsdsdsd");
		game_question.setFont(SWTResourceManager.getFont("Segoe UI", 15, SWT.NORMAL));
		game_question.setBounds(48, 79, 700, 157);

		statistics = new Composite(shell, SWT.NONE);

		stats_continue = new Button(statistics, SWT.NONE);
		stats_continue.setFont(SWTResourceManager.getFont("Segoe UI", 13,
				SWT.NORMAL));
		stats_continue.setBounds(450, 600, 125, 60);
		stats_continue.setText("Continue");
		statistics.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		stats_updateLBL = new Label(statistics, SWT.NONE);
		stats_updateLBL.setFont(SWTResourceManager.getFont("Segoe UI", 13,
				SWT.NORMAL));
		stats_updateLBL.setAlignment(SWT.CENTER);
		stats_updateLBL.setBounds(460, 635, 120, 45);
		stats_updateLBL.setText("updating DB");
		stats_updateLBL.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		Label stats_titleLBL = new Label(statistics, SWT.CENTER);
		stats_titleLBL.setForeground(SWTResourceManager
				.getColor(SWT.COLOR_WIDGET_HIGHLIGHT_SHADOW));
		stats_titleLBL.setText("Game Statistics");
		stats_titleLBL.setFont(SWTResourceManager.getFont("Segoe UI", 40,
				SWT.NORMAL));
		// stats_titleLBL.setEnabled(false);
		stats_titleLBL.setBounds(177, 35, 670, 89);
		stats_titleLBL.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		stats_statsLBL = new Label(statistics, SWT.NONE);
		stats_statsLBL.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));
		stats_statsLBL.setFont(SWTResourceManager.getFont("Segoe UI", 20,
				SWT.NORMAL));
		stats_statsLBL.setBounds(112, 140, 800, 420);

		stats_loadingCNVS = new Canvas(statistics, SWT.NONE);
		stats_loadingCNVS.setVisible(false);
		stats_loadingCNVS.setBounds(506, 600, 32, 32);

		nextLevel = new Composite(shell, SWT.NONE);
		nextLevel.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		nextLevel_nextBTN = new Button(nextLevel, SWT.NONE);
		nextLevel_nextBTN.setFont(SWTResourceManager.getFont("Segoe UI", 13,
				SWT.NORMAL));
		nextLevel_nextBTN.setBounds(450, 450, 125, 60);
		nextLevel_nextBTN.setText("Continue");

		nextLevel_loadingLBL = new Label(nextLevel, SWT.NONE);
		nextLevel_loadingLBL.setFont(SWTResourceManager.getFont("Segoe UI", 13,
				SWT.NORMAL));
		nextLevel_loadingLBL.setBounds(450, 515, 350, 50);
		nextLevel_loadingLBL.setText("loading level...");
		nextLevel_loadingLBL.setVisible(false);

		Label nextLevel_titleLBL = new Label(nextLevel, SWT.CENTER);
		nextLevel_titleLBL.setForeground(SWTResourceManager
				.getColor(SWT.COLOR_WIDGET_HIGHLIGHT_SHADOW));
		nextLevel_titleLBL.setText("Loading the next Level");
		nextLevel_titleLBL.setFont(SWTResourceManager.getFont("Segoe UI", 40,
				SWT.NORMAL));
		// nextLevel_titleLBL.setEnabled(false);
		nextLevel_titleLBL.setBounds(177, 25, 670, 89);
		nextLevel_titleLBL.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		nextLevel_infoLBL = new Label(nextLevel, SWT.NONE);
		nextLevel_infoLBL
				.setText("please wait untill the next chain of questions\r\nwill be loaded.\r\n\r\nwhen the questions will be loaded you will\r\nbe able to continue.\r\n\r\n");
		nextLevel_infoLBL.setFont(SWTResourceManager.getFont("Segoe UI", 17,
				SWT.NORMAL));
		nextLevel_infoLBL.setBounds(190, 200, 670, 197);
		nextLevel_infoLBL.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		nextLevel_loadingCNVS = new Canvas(nextLevel, SWT.NONE);
		nextLevel_loadingCNVS.setVisible(false);
		nextLevel_loadingCNVS.setBounds(496, 464, 32, 32);

		startGameScreen = new Composite(shell, SWT.NONE);
		startGameScreen.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		start_game_infoLBL = new Label(startGameScreen, SWT.NONE);
		start_game_infoLBL.setFont(SWTResourceManager.getFont("Segoe UI", 13,
				SWT.NORMAL));
		start_game_infoLBL.setBounds(241, 148, 700, 276);
		start_game_infoLBL
				.setText("you are going to start XXX game\r\rbla bla bla\r\rbla lba ");
		start_game_infoLBL.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		start_game_startBTN = new Button(startGameScreen, SWT.NONE);
		start_game_startBTN.addSelectionListener(new SelectionAdapter() {
			@Override
			public void widgetSelected(SelectionEvent arg0) {
			}
		});
		start_game_startBTN.setFont(SWTResourceManager.getFont("Segoe UI", 15,
				SWT.NORMAL));
		start_game_startBTN.setBounds(450, 450, 125, 60);
		start_game_startBTN.setText("START");

		start_game_loadingLBL = new Label(startGameScreen, SWT.NONE);
		start_game_loadingLBL.setFont(SWTResourceManager.getFont("Segoe UI",
				13, SWT.NORMAL));
		start_game_loadingLBL.setBounds(450, 516, 350, 50);
		start_game_loadingLBL.setText("loading game...");
		start_game_loadingLBL.setVisible(false);

		Label startGame_titleLBL = new Label(startGameScreen, SWT.CENTER);
		startGame_titleLBL.setForeground(SWTResourceManager
				.getColor(SWT.COLOR_WIDGET_HIGHLIGHT_SHADOW));
		startGame_titleLBL.setText("Loading the GAME");
		startGame_titleLBL.setFont(SWTResourceManager.getFont("Segoe UI", 40,
				SWT.NORMAL));
		// startGame_titleLBL.setEnabled(false);
		startGame_titleLBL.setBounds(177, 25, 670, 89);
		startGame_titleLBL.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		start_game_loadingCNVS = new Canvas(startGameScreen, SWT.NONE);
		start_game_loadingCNVS.setVisible(false);
		start_game_loadingCNVS.setBounds(496, 464, 32, 32);

		loadingQuestion = new Composite(shell, SWT.NONE);
		loadingQuestion.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		loadingQuestion_continue = new Button(loadingQuestion, SWT.NONE);
		loadingQuestion_continue.setFont(SWTResourceManager.getFont("Segoe UI",
				13, SWT.NORMAL));
		loadingQuestion_continue.setText("continue");
		loadingQuestion_continue.setBounds(450, 450, 125, 60);

		loadingQuestion_loadingLBL = new Label(loadingQuestion, SWT.NONE);
		loadingQuestion_loadingLBL.setFont(SWTResourceManager.getFont(
				"Segoe UI", 13, SWT.NORMAL));
		loadingQuestion_loadingLBL.setText("loading next questions...");
		loadingQuestion_loadingLBL.setBounds(450, 515, 350, 50);
		loadingQuestion_loadingLBL.setVisible(false);

		Label loadingQuestion_titleLBL = new Label(loadingQuestion, SWT.CENTER);
		loadingQuestion_titleLBL.setForeground(SWTResourceManager
				.getColor(SWT.COLOR_WIDGET_HIGHLIGHT_SHADOW));
		loadingQuestion_titleLBL.setText("Loading the questions");
		loadingQuestion_titleLBL.setFont(SWTResourceManager.getFont("Segoe UI",
				40, SWT.NORMAL));
		// loadingQuestion_titleLBL.setEnabled(false);
		loadingQuestion_titleLBL.setBounds(177, 25, 670, 89);
		loadingQuestion_titleLBL.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		Label loadingQuestion_textLBL = new Label(loadingQuestion, SWT.NONE);
		loadingQuestion_textLBL.setFont(SWTResourceManager.getFont("Segoe UI",
				17, SWT.NORMAL));
		loadingQuestion_textLBL.setBounds(190, 200, 670, 197);
		loadingQuestion_textLBL
				.setText("please wait untill the next chain of questions\r\nwill be loaded.\r\n\r\nwhen the questions will be loaded you will\r\nbe able to continue.\r\n\r\n");
		loadingQuestion_textLBL.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		loadingQuestion_loadingCNVS = new Canvas(loadingQuestion, SWT.NONE);
		loadingQuestion_loadingCNVS.setVisible(false);
		loadingQuestion_loadingCNVS.setBounds(496, 464, 32, 32);

		profile = new Composite(shell, SWT.NONE);
		profile.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		profile_changePassCOMP = new Composite(profile, SWT.BORDER);
		profile_changePassCOMP.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_DARK_GRAY));
		profile_changePassCOMP.setBounds(451, 360, 320, 320);

		profile_oldPassTXT = new Text(profile_changePassCOMP, SWT.BORDER
				| SWT.PASSWORD);
		profile_oldPassTXT.setTextLimit(30);
		profile_oldPassTXT.setFont(SWTResourceManager.getFont("Segoe UI", 13,
				SWT.NORMAL));
		profile_oldPassTXT.setMessage("Enter password");
		profile_oldPassTXT.setBounds(10, 107, 300, 35);

		profile_newPassTXT = new Text(profile_changePassCOMP, SWT.BORDER
				| SWT.PASSWORD);
		profile_newPassTXT.setTextLimit(30);
		profile_newPassTXT.setMessage("Enter password");
		profile_newPassTXT.setFont(SWTResourceManager.getFont("Segoe UI", 13,
				SWT.NORMAL));
		profile_newPassTXT.setBounds(10, 167, 300, 35);

		profile_RenewPassTXT = new Text(profile_changePassCOMP, SWT.BORDER
				| SWT.PASSWORD);
		profile_RenewPassTXT.setTextLimit(30);
		profile_RenewPassTXT.setMessage("Enter password");
		profile_RenewPassTXT.setFont(SWTResourceManager.getFont("Segoe UI", 13,
				SWT.NORMAL));
		profile_RenewPassTXT.setBounds(10, 228, 300, 35);

		Label profile_ChangeTitleLBL = new Label(profile_changePassCOMP,
				SWT.CENTER);
		profile_ChangeTitleLBL.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_DARK_GRAY));
		profile_ChangeTitleLBL.setText("Change Pass");
		profile_ChangeTitleLBL.setFont(SWTResourceManager.getFont("Segoe UI",
				30, SWT.NORMAL));
		profile_ChangeTitleLBL.setEnabled(false);
		profile_ChangeTitleLBL.setBounds(10, 0, 300, 67);

		Label profile_passLBL = new Label(profile_changePassCOMP, SWT.NONE);
		profile_passLBL.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_DARK_GRAY));
		profile_passLBL.setFont(SWTResourceManager.getFont("Segoe UI", 13,
				SWT.NORMAL));
		profile_passLBL.setBounds(10, 78, 300, 194);
		profile_passLBL
				.setText("old password\r\n\r\nnew password\r\n\r\nreEnter new password");

		profile_cancelBTN = new Button(profile_changePassCOMP, SWT.NONE);
		profile_cancelBTN.setBounds(10, 278, 90, 30);
		profile_cancelBTN.setText("cancel");

		profile_commitBTN = new Button(profile_changePassCOMP, SWT.NONE);
		profile_commitBTN.setText("submit");
		profile_commitBTN.setBounds(220, 278, 90, 30);

		profile_loadingCNVS = new Canvas(profile_changePassCOMP, SWT.NONE);
		profile_loadingCNVS.setVisible(false);
		profile_loadingCNVS.setBounds(144, 276, 32, 32);

		Label lblProfile = new Label(profile, SWT.CENTER);
		lblProfile.setText("Profile");
		lblProfile.setFont(SWTResourceManager.getFont("Segoe UI", 40,
				SWT.NORMAL));
		lblProfile.setEnabled(false);
		lblProfile.setBounds(362, 31, 300, 89);
		lblProfile.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		profile_infoLBL = new Label(profile, SWT.NONE);
		profile_infoLBL.setFont(SWTResourceManager.getFont("Segoe UI", 20,
				SWT.NORMAL));
		profile_infoLBL.setBounds(191, 125, 700, 364);
		profile_infoLBL
				.setText("first name:\r\nlast name\r\nuser name:\r\n\r\nbest long mod score:\r\nbest level mod score:\r\nrank:");
		profile_infoLBL.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		profile_returnBTN = new Button(profile, SWT.NONE);
		profile_returnBTN.setText("Return");
		profile_returnBTN.setBounds(49, 644, 110, 36);

		profile_changePassBTN = new Button(profile, SWT.NONE);
		profile_changePassBTN.setText("change password");
		profile_changePassBTN.setBounds(644, 644, 127, 36);

		editDB = new Composite(shell, SWT.NONE);
		editDB.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));
		
				editDB_loadingCNVS = new Canvas(editDB, SWT.NONE);
				editDB_loadingCNVS.setLocation(480, 300);
				editDB_loadingCNVS.setSize(64, 64);
				editDB_loadingCNVS.setVisible(false);
		
		ScrolledComposite scrolledComposite = new ScrolledComposite(editDB, SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL);
		scrolledComposite.setLocation(50, 105);
		scrolledComposite.setSize(925, 451);
		scrolledComposite.setExpandHorizontal(true);
		scrolledComposite.setExpandVertical(true);
		
		Composite composite_1 = new Composite(scrolledComposite, SWT.NONE);
		composite_1.setBackground(SWTResourceManager.getColor(SWT.COLOR_TITLE_BACKGROUND));
		
				editDB_infoLBL = new Label(composite_1, SWT.BORDER | SWT.HORIZONTAL
						| SWT.SHADOW_NONE);
				editDB_infoLBL.setSize(900, 900);
				editDB_infoLBL.setFont(SWTResourceManager.getFont("Segoe UI", 14,
						SWT.NORMAL));
				editDB_infoLBL
						.setText("1\r\n2\r\n3\r\n4\r\n5\r\n6\r\n7\r\n8\r\n9\r\n10\r\n11\r\n12\r\n13\r\n14");
				editDB_infoLBL.setBackground(SWTResourceManager
						.getColor(SWT.COLOR_TITLE_BACKGROUND));
				scrolledComposite.setContent(composite_1);
				scrolledComposite.setMinSize(composite_1.computeSize(SWT.DEFAULT, SWT.DEFAULT));

		Label lblTabelInDb = new Label(editDB, SWT.NONE);
		lblTabelInDb.setAlignment(SWT.CENTER);
		lblTabelInDb.setFont(SWTResourceManager.getFont("Segoe UI", 15,
				SWT.NORMAL));
		lblTabelInDb.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));
		lblTabelInDb.setBounds(402, 72, 220, 30);
		lblTabelInDb.setText("DB Schema information");

		Label editDB_titleLBL = new Label(editDB, SWT.NONE);
		editDB_titleLBL.setAlignment(SWT.CENTER);
		editDB_titleLBL.setText("EDIT THE DB");
		editDB_titleLBL.setFont(SWTResourceManager.getFont("Segoe UI", 30,
				SWT.NORMAL));
	//	editDB_titleLBL.setEnabled(false);
		editDB_titleLBL.setBounds(362, 15, 300, 72);

		userManagment = new Composite(shell, SWT.NONE);
		userManagment.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		userMan_commitBTN = new Button(userManagment, SWT.NONE);
		userMan_commitBTN.setFont(SWTResourceManager.getFont("Segoe UI", 13,
				SWT.NORMAL));
		userMan_commitBTN.setBounds(846, 631, 125, 60);
		userMan_commitBTN.setText("Commit");

		userMan_refreshBTN = new Button(userManagment, SWT.NONE);
		userMan_refreshBTN.setText("refresh");
		userMan_refreshBTN.setFont(SWTResourceManager.getFont("Segoe UI", 13,
				SWT.NORMAL));
		userMan_refreshBTN.setBounds(871, 128, 100, 40);

		useMan_titleLBL = new Label(userManagment, SWT.CENTER);
		useMan_titleLBL.setText("Manage Users");
		useMan_titleLBL.setFont(SWTResourceManager.getFont("Segoe UI", 40,
				SWT.NORMAL));
		useMan_titleLBL.setEnabled(false);
		useMan_titleLBL.setBounds(177, 30, 670, 89);
		useMan_titleLBL.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		userMan_returnBTN = new Button(userManagment, SWT.NONE);
		userMan_returnBTN.setText("return");
		userMan_returnBTN.setFont(SWTResourceManager.getFont("Segoe UI", 13,
				SWT.NORMAL));
		userMan_returnBTN.setBounds(23, 631, 125, 60);

		userMan_loadingCNVS = new Canvas(userManagment, SWT.NONE);
		userMan_loadingCNVS.setVisible(false);
		userMan_loadingCNVS.setBounds(892, 171, 64, 64);

		editTV = new Composite(shell, SWT.NONE);
		editTV.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));
		// //////////////////////////////////////////////////

		editTV_searchActorComp = new Composite(editTV, SWT.BORDER);
		editTV_searchActorComp.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_GRAY));
		editTV_searchActorComp.setForeground(SWTResourceManager
				.getColor(SWT.COLOR_WIDGET_BACKGROUND));
		editTV_searchActorComp.setBounds(670, 179, 330, 300);
		editTV_searchActorComp.setVisible(true);

		editTV_actorsTBL = new Table(editTV, SWT.BORDER | SWT.FULL_SELECTION);
		editTV_actorsTBL.setBounds(685, 190, 300, 450);
		editTV_actorsTBL.setHeaderVisible(true);
		editTV_actorsTBL.setLinesVisible(true);

		TableColumn tblclmnActor = new TableColumn(editTV_actorsTBL, SWT.NONE);
		tblclmnActor.setWidth(140);
		tblclmnActor.setText("Actor");

		TableColumn tblclmnCharacter = new TableColumn(editTV_actorsTBL,
				SWT.NONE);
		tblclmnCharacter.setWidth(140);
		tblclmnCharacter.setText("character");

		editTV_searchCreatorComp = new Composite(editTV, SWT.BORDER);
		editTV_searchCreatorComp.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_GRAY));
		editTV_searchCreatorComp.setForeground(SWTResourceManager
				.getColor(SWT.COLOR_WIDGET_BACKGROUND));
		editTV_searchCreatorComp.setBounds(23, 369, 330, 220);

		editTV_countryListcomLST = new List(editTV, SWT.BORDER);
		editTV_countryListcomLST.setBounds(68, 328, 238, 127);
		editTV_countryListcomLST.setVisible(false);

		editTV_programNameLBL = new Label(editTV, SWT.CENTER);
		editTV_programNameLBL.setText("Program name");
		editTV_programNameLBL.setFont(SWTResourceManager.getFont("Segoe UI",
				15, SWT.NORMAL));
		editTV_programNameLBL.setBounds(78, 118, 220, 42);
		editTV_programNameLBL.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		editTV_firstDateLBL = new Label(editTV, SWT.NONE);
		editTV_firstDateLBL.setAlignment(SWT.CENTER);
		editTV_firstDateLBL.setText("First episode date");
		editTV_firstDateLBL.setFont(SWTResourceManager.getFont("Segoe UI", 15,
				SWT.NORMAL));
		editTV_firstDateLBL.setBounds(402, 122, 220, 42);
		editTV_firstDateLBL.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		editTV_firstDateDT = new Spinner(editTV, SWT.BORDER | SWT.DROP_DOWN);
		editTV_firstDateDT.setFont(SWTResourceManager.getFont("Segoe UI", 12,
				SWT.NORMAL));
		editTV_firstDateDT.setMaximum(2045);
		editTV_firstDateDT.setMinimum(1901);
		editTV_firstDateDT.setBounds(442, 174, 140, 30);

		Label editTV_lastDateLBL = new Label(editTV, SWT.NONE);
		editTV_lastDateLBL.setAlignment(SWT.CENTER);
		editTV_lastDateLBL.setText("Last episode date");
		editTV_lastDateLBL.setFont(SWTResourceManager.getFont("Segoe UI", 15,
				SWT.NORMAL));
		editTV_lastDateLBL.setBounds(402, 246, 220, 42);
		editTV_lastDateLBL.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		editTV_lastDateDT = new Spinner(editTV, SWT.BORDER | SWT.DROP_DOWN);
		editTV_lastDateDT.setFont(SWTResourceManager.getFont("Segoe UI", 12,
				SWT.NORMAL));
		editTV_lastDateDT.setMaximum(2045);
		editTV_lastDateDT.setMinimum(1901);
		editTV_lastDateDT.setBounds(442, 294, 140, 30);

		// ////////////////////////////////////////////////

		editTV_actorCharaterNameTXT = new Text(editTV, SWT.BORDER);
		editTV_actorCharaterNameTXT.setFont(SWTResourceManager.getFont(
				"Segoe UI", 16, SWT.NORMAL));
		editTV_actorCharaterNameTXT.setMessage("character name...");
		editTV_actorCharaterNameTXT.setBounds(685, 670, 240, 40);
		editTV_actorCharaterNameTXT.setTextLimit(256);

		Label editTV_searchActrorCharaterNameLBL = new Label(editTV, SWT.NONE);
		editTV_searchActrorCharaterNameLBL.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));
		editTV_searchActrorCharaterNameLBL.setFont(SWTResourceManager.getFont(
				"Segoe UI", 11, SWT.NORMAL));
		editTV_searchActrorCharaterNameLBL.setBounds(685, 646, 135, 25);
		editTV_searchActrorCharaterNameLBL.setText("Character name:");

		editTV_setNameBTN = new Button(editTV, SWT.NONE);
		editTV_setNameBTN.setFont(SWTResourceManager.getFont("Segoe UI", 13,
				SWT.NORMAL));
		editTV_setNameBTN.setBounds(935, 670, 50, 40);
		editTV_setNameBTN.setText("Set");

		// ///////////////////////////////////////////////

		Label editTV_numOfEpisodeLBL = new Label(editTV, SWT.NONE);
		editTV_numOfEpisodeLBL.setAlignment(SWT.CENTER);
		editTV_numOfEpisodeLBL.setText("Number of episodes");
		editTV_numOfEpisodeLBL.setFont(SWTResourceManager.getFont("Segoe UI",
				15, SWT.NORMAL));
		editTV_numOfEpisodeLBL.setBounds(397, 358, 230, 42);
		editTV_numOfEpisodeLBL.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		editTV_numOfEpisodeSPN = new Spinner(editTV, SWT.BORDER);
		editTV_numOfEpisodeSPN.setFont(SWTResourceManager.getFont("Segoe UI",
				10, SWT.NORMAL));
		editTV_numOfEpisodeSPN.setMaximum(1000);
		editTV_numOfEpisodeSPN.setBounds(472, 406, 80, 30);

		Label editTV_originLBL = new Label(editTV, SWT.CENTER);
		editTV_originLBL.setText("Origin country");
		editTV_originLBL.setFont(SWTResourceManager.getFont("Segoe UI", 15,
				SWT.NORMAL));
		editTV_originLBL.setBounds(78, 240, 220, 42);
		editTV_originLBL.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		Label editTV_numOfSeasonsLBL = new Label(editTV, SWT.NONE);
		editTV_numOfSeasonsLBL.setAlignment(SWT.CENTER);
		editTV_numOfSeasonsLBL.setText("Number of seasons");
		editTV_numOfSeasonsLBL.setFont(SWTResourceManager.getFont("Segoe UI",
				15, SWT.NORMAL));
		editTV_numOfSeasonsLBL.setBounds(397, 448, 230, 42);
		editTV_numOfSeasonsLBL.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		editTV_numOfSeasonsSPN = new Spinner(editTV, SWT.BORDER);
		editTV_numOfSeasonsSPN.setFont(SWTResourceManager.getFont("Segoe UI",
				10, SWT.NORMAL));
		editTV_numOfSeasonsSPN.setBounds(472, 496, 80, 30);

		editTV_programNameTXT = new Text(editTV, SWT.BORDER);
		editTV_programNameTXT.setTextLimit(200);
		editTV_programNameTXT.setMessage("Enter program's name");
		editTV_programNameTXT.setFont(SWTResourceManager.getFont("Segoe UI",
				13, SWT.NORMAL));
		editTV_programNameTXT.setBounds(68, 163, 240, 40);

		editTV_countryTXT = new Text(editTV, SWT.BORDER);
		editTV_countryTXT.setTextLimit(300);
		editTV_countryTXT.setMessage("Enter origin country");
		editTV_countryTXT.setFont(SWTResourceManager.getFont("Segoe UI", 13,
				SWT.NORMAL));
		editTV_countryTXT.setBounds(68, 288, 240, 40);

		Label editTV_separator1SEPA = new Label(editTV, SWT.SEPARATOR
				| SWT.VERTICAL);
		editTV_separator1SEPA.setBounds(357, 118, 40, 530);
		editTV_separator1SEPA.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		Label editTV_separator2SEPA = new Label(editTV, SWT.SEPARATOR
				| SWT.CENTER);
		editTV_separator2SEPA.setBounds(627, 118, 40, 530);
		editTV_separator2SEPA.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		editTV_commitBTN = new Button(editTV, SWT.NONE);
		editTV_commitBTN.setText("Save");
		editTV_commitBTN.setBounds(522, 670, 90, 40);

		editTV_addActorBTN = new Button(editTV, SWT.NONE);
		editTV_addActorBTN.setBounds(795, 145, 80, 35);
		editTV_addActorBTN.setText("Add actor");

		editTV_cencelBTN = new Button(editTV, SWT.NONE);
		editTV_cencelBTN.setText("return");
		editTV_cencelBTN.setBounds(412, 670, 90, 40);

		editTV_creatorsTBL = new Table(editTV, SWT.BORDER | SWT.FULL_SELECTION);
		editTV_creatorsTBL.setLinesVisible(true);
		editTV_creatorsTBL.setHeaderVisible(true);
		editTV_creatorsTBL.setBounds(113, 424, 150, 165);

		tblclmnCreator = new TableColumn(editTV_creatorsTBL, SWT.NONE);
		tblclmnCreator.setWidth(145);
		tblclmnCreator.setText("creator");

		editTV_addCreatorBTN = new Button(editTV, SWT.NONE);
		editTV_addCreatorBTN.setBounds(143, 379, 90, 35);
		editTV_addCreatorBTN.setText("Add creator");

		Label lblEditTvProgram = new Label(editTV, SWT.NONE);
		lblEditTvProgram.setText("Edit TV program");
		lblEditTvProgram.setFont(SWTResourceManager.getFont("Segoe UI", 30,
				SWT.NORMAL));
		lblEditTvProgram.setEnabled(false);
		lblEditTvProgram.setAlignment(SWT.CENTER);
		lblEditTvProgram.setBounds(212, 10, 600, 72);
		lblEditTvProgram.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		editTV_loadingCNVS = new Canvas(editTV, SWT.NONE);
		editTV_loadingCNVS.setVisible(false);
		editTV_loadingCNVS.setBounds(618, 674, 32, 32);

		searchENG = new Composite(shell, SWT.NONE);
		searchENG.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		searchENG_addPerson = new Composite(searchENG, SWT.BORDER);
		searchENG_addPerson.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_DARK_GRAY));
		searchENG_addPerson.setBounds(342, 218, 320, 150);
		searchENG_addPerson.setVisible(false);

		searchENG_filmBTN = new Button(searchENG, SWT.CHECK);
		searchENG_filmBTN.setSelection(true);
		searchENG_filmBTN.setBounds(245, 169, 52, 20);
		searchENG_filmBTN.setText("Film");
		searchENG_filmBTN.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		searchENG_programBTN = new Button(searchENG, SWT.CHECK);
		searchENG_programBTN.setSelection(true);
		searchENG_programBTN.setBounds(310, 169, 81, 20);
		searchENG_programBTN.setText("Program");
		searchENG_programBTN.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		searchENG_actorBTN = new Button(searchENG, SWT.CHECK);
		searchENG_actorBTN.setSelection(true);
		searchENG_actorBTN.setBounds(402, 169, 81, 20);
		searchENG_actorBTN.setText("Actor");
		searchENG_actorBTN.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		searchENG_programCeatorBTN = new Button(searchENG, SWT.CHECK);
		searchENG_programCeatorBTN.setSelection(true);
		searchENG_programCeatorBTN.setBounds(489, 169, 132, 20);
		searchENG_programCeatorBTN.setText("Program creator");
		searchENG_programCeatorBTN.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		searchENG_filmDirectorBTN = new Button(searchENG, SWT.CHECK);
		searchENG_filmDirectorBTN.setSelection(true);
		searchENG_filmDirectorBTN.setBounds(627, 169, 110, 20);
		searchENG_filmDirectorBTN.setText("Film director");
		searchENG_filmDirectorBTN.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		searchENG_GoBTN = new Button(searchENG, SWT.NONE);
		searchENG_GoBTN.setBounds(725, 85, 55, 55);
		searchENG_GoBTN.setText("GO!");

		searchENG_filmTBL = new Table(searchENG, SWT.BORDER
				| SWT.FULL_SELECTION);
		searchENG_filmTBL.setBounds(87, 218, 250, 215);
		searchENG_filmTBL.setHeaderVisible(true);
		searchENG_filmTBL.setLinesVisible(true);

		searchENG_filmNameTBL = new TableColumn(searchENG_filmTBL, SWT.NONE);
		searchENG_filmNameTBL.setWidth(135);
		searchENG_filmNameTBL.setText("Film name");

		searchENG_filmreleaseTBL = new TableColumn(searchENG_filmTBL, SWT.NONE);
		searchENG_filmreleaseTBL.setResizable(false);
		searchENG_filmreleaseTBL.setWidth(110);
		searchENG_filmreleaseTBL.setText("Release year");

		searchENG_searchTXT = new Text(searchENG, SWT.BORDER | SWT.SEARCH);
		searchENG_searchTXT.setTextLimit(200);
		searchENG_searchTXT.setMessage("search here...");
		searchENG_searchTXT.setFont(SWTResourceManager.getFont("Segoe UI", 20,
				SWT.NORMAL));
		searchENG_searchTXT.setBounds(245, 85, 475, 55);

		searchENG_tvTBL = new Table(searchENG, SWT.BORDER | SWT.FULL_SELECTION);
		searchENG_tvTBL.setLinesVisible(true);
		searchENG_tvTBL.setHeaderVisible(true);
		searchENG_tvTBL.setBounds(387, 218, 250, 215);

		searchENG_TVnameTBL = new TableColumn(searchENG_tvTBL, SWT.NONE);
		searchENG_TVnameTBL.setWidth(135);
		searchENG_TVnameTBL.setText("Program name");

		searchENG_TVdateTBL = new TableColumn(searchENG_tvTBL, SWT.NONE);
		searchENG_TVdateTBL.setWidth(110);
		searchENG_TVdateTBL.setText("Release year");

		searchENG_actorTBL = new Table(searchENG, SWT.BORDER
				| SWT.FULL_SELECTION);
		searchENG_actorTBL.setLinesVisible(true);
		searchENG_actorTBL.setHeaderVisible(true);
		searchENG_actorTBL.setBounds(687, 218, 250, 215);

		searchENG_actorNameTBL = new TableColumn(searchENG_actorTBL, SWT.NONE);
		searchENG_actorNameTBL.setWidth(135);
		searchENG_actorNameTBL.setText("Actor name");

		searchENG_actorknownTBL = new TableColumn(searchENG_actorTBL, SWT.NONE);
		searchENG_actorknownTBL.setWidth(110);
		searchENG_actorknownTBL.setText("actin role");

		searchENG_createFilmBTN = new Button(searchENG, SWT.NONE);
		searchENG_createFilmBTN.setBounds(162, 438, 100, 25);
		searchENG_createFilmBTN.setText("create Film");

		searchENG_createProgramBTN = new Button(searchENG, SWT.NONE);
		searchENG_createProgramBTN.setBounds(447, 438, 130, 25);
		searchENG_createProgramBTN.setText("create Program");

		searchENG_createActorBTN = new Button(searchENG, SWT.NONE);
		searchENG_createActorBTN.setBounds(757, 438, 110, 25);
		searchENG_createActorBTN.setText("create Actor");

		searchENG_returnBTN = new Button(searchENG, SWT.NONE);
		searchENG_returnBTN.setBounds(10, 25, 90, 30);
		searchENG_returnBTN.setText("Return");

		searchENG_creatorTBL = new Table(searchENG, SWT.BORDER
				| SWT.FULL_SELECTION);
		searchENG_creatorTBL.setLinesVisible(true);
		searchENG_creatorTBL.setHeaderVisible(true);
		searchENG_creatorTBL.setBounds(212, 475, 250, 215);

		TableColumn tblclmnCreatorName = new TableColumn(searchENG_creatorTBL,
				SWT.NONE);
		tblclmnCreatorName.setWidth(135);
		tblclmnCreatorName.setText("creator name");

		TableColumn tblclmnKnownFor = new TableColumn(searchENG_creatorTBL,
				SWT.NONE);
		tblclmnKnownFor.setWidth(110);
		tblclmnKnownFor.setText("known for");

		searchENG_createCreatorBTN = new Button(searchENG, SWT.NONE);
		searchENG_createCreatorBTN.setText("create Creator");
		searchENG_createCreatorBTN.setBounds(277, 695, 120, 25);

		searchENG_directorTBL = new Table(searchENG, SWT.BORDER
				| SWT.FULL_SELECTION);
		searchENG_directorTBL.setLinesVisible(true);
		searchENG_directorTBL.setHeaderVisible(true);
		searchENG_directorTBL.setBounds(562, 475, 250, 215);

		TableColumn tblclmnDirectorName = new TableColumn(
				searchENG_directorTBL, SWT.NONE);
		tblclmnDirectorName.setWidth(135);
		tblclmnDirectorName.setText("Director name");

		TableColumn tblclmnKnownFor_1 = new TableColumn(searchENG_directorTBL,
				SWT.NONE);
		tblclmnKnownFor_1.setWidth(110);
		tblclmnKnownFor_1.setText("known for");

		searchENG_createDirectorBTN = new Button(searchENG, SWT.NONE);
		searchENG_createDirectorBTN.setText("create Director");
		searchENG_createDirectorBTN.setBounds(627, 695, 120, 25);

		searchENG_loadingCNVS = new Canvas(searchENG, SWT.NONE);
		searchENG_loadingCNVS.setBounds(785, 80, 64, 64);
		searchENG_loadingCNVS.setVisible(false);

		editDB_returnBTN = new Button(editDB, SWT.NONE);
		editDB_returnBTN.setBounds(841, 10, 110, 36);
		editDB_returnBTN.setText("Return");
		editDB_titleLBL.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		editDB_clearBTN = new Button(editDB, SWT.NONE);
		editDB_clearBTN.setText("Clear DB");
		editDB_clearBTN.setFont(SWTResourceManager.getFont("Segoe UI", 13,
				SWT.NORMAL));
		editDB_clearBTN.setBounds(298, 567, 125, 60);

		editDB_updateBTN = new Button(editDB, SWT.NONE);
		editDB_updateBTN.setText("Update DB");
		editDB_updateBTN.setFont(SWTResourceManager.getFont("Segoe UI", 13,
				SWT.NORMAL));
		editDB_updateBTN.setBounds(438, 567, 125, 60);

		editDB_enterBTN = new Button(editDB, SWT.NONE);
		editDB_enterBTN.setText("Enter Data to DB");
		editDB_enterBTN.setFont(SWTResourceManager.getFont("Segoe UI", 13,
				SWT.NORMAL));
		editDB_enterBTN.setBounds(578, 567, 180, 60);

		Label label = new Label(editDB, SWT.SEPARATOR | SWT.HORIZONTAL);
		label.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));
		label.setBounds(62, 535, 900, 47);

		editDB_longLoadingCNVS = new Canvas(editDB, SWT.NONE);
		editDB_longLoadingCNVS.setVisible(false);
		editDB_longLoadingCNVS.setBounds(480, 633, 64, 64);
		editDB_longLoadingCNVS.setVisible(false);

		editDB_loadingLBL = new Label(editDB, SWT.NONE);
		editDB_loadingLBL.setFont(SWTResourceManager.getFont("Segoe UI", 13,
				SWT.NORMAL));
		editDB_loadingLBL.setAlignment(SWT.CENTER);
		editDB_loadingLBL.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));
		editDB_loadingLBL.setBounds(550, 633, 250, 60);
		editDB_loadingLBL
				.setText("this will take some time\r\ngo and drink coffee");
		editDB_loadingLBL.setVisible(false);

		editMovie = new Composite(shell, SWT.NONE);
		editMovie.setTouchEnabled(true);
		editMovie.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		editFilm_searchFilmComp = new Composite(editMovie, SWT.BORDER);
		editFilm_searchFilmComp.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_GRAY));
		editFilm_searchFilmComp.setForeground(SWTResourceManager
				.getColor(SWT.COLOR_WIDGET_BACKGROUND));
		editFilm_searchFilmComp.setBounds(376, 369, 270, 220);

		editFilm_countryListcomLST = new List(editMovie, SWT.BORDER);
		editFilm_countryListcomLST.setVisible(false);
		editFilm_countryListcomLST.setBounds(68, 327, 238, 127);

		editFilm_searchActorComp = new Composite(editMovie, SWT.BORDER);
		editFilm_searchActorComp.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_GRAY));
		editFilm_searchActorComp.setForeground(SWTResourceManager
				.getColor(SWT.COLOR_WIDGET_BACKGROUND));
		editFilm_searchActorComp.setBounds(670, 179, 330, 300);
		editFilm_searchActorComp.setVisible(true);

		editFilm_searchDirectorComp = new Composite(editMovie, SWT.BORDER);
		editFilm_searchDirectorComp.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_GRAY));
		editFilm_searchDirectorComp.setForeground(SWTResourceManager
				.getColor(SWT.COLOR_WIDGET_BACKGROUND));
		editFilm_searchDirectorComp.setBounds(23, 369, 330, 220);

		Label editFilm_FilmNameLBL = new Label(editMovie, SWT.NONE);
		editFilm_FilmNameLBL.setAlignment(SWT.CENTER);
		editFilm_FilmNameLBL.setText("Film name");
		editFilm_FilmNameLBL.setFont(SWTResourceManager.getFont("Segoe UI", 15,
				SWT.NORMAL));
		editFilm_FilmNameLBL.setBounds(78, 118, 220, 42);
		editFilm_FilmNameLBL.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		Label editFilm_releaseDateLBL = new Label(editMovie, SWT.NONE);
		editFilm_releaseDateLBL.setAlignment(SWT.CENTER);
		editFilm_releaseDateLBL.setText("Release date");
		editFilm_releaseDateLBL.setFont(SWTResourceManager.getFont("Segoe UI",
				15, SWT.NORMAL));
		editFilm_releaseDateLBL.setBounds(402, 118, 220, 42);
		editFilm_releaseDateLBL.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		editFilm_ActorTBL = new Table(editMovie, SWT.BORDER
				| SWT.FULL_SELECTION);
		editFilm_ActorTBL.setLinesVisible(true);
		editFilm_ActorTBL.setHeaderVisible(true);
		editFilm_ActorTBL.setBounds(685, 190, 300, 450);

		TableColumn tableColumn_1 = new TableColumn(editFilm_ActorTBL, SWT.NONE);
		tableColumn_1.setWidth(140);
		tableColumn_1.setText("Actor");

		TableColumn tableColumn_4 = new TableColumn(editFilm_ActorTBL, SWT.NONE);
		tableColumn_4.setWidth(140);
		tableColumn_4.setText("character");

		// ////////////////////////////////////////////////

		editFilm_actorCharaterNameTXT = new Text(editMovie, SWT.BORDER);
		editFilm_actorCharaterNameTXT.setFont(SWTResourceManager.getFont(
				"Segoe UI", 16, SWT.NORMAL));
		editFilm_actorCharaterNameTXT.setMessage("character name...");
		editFilm_actorCharaterNameTXT.setBounds(685, 670, 240, 40);
		editFilm_actorCharaterNameTXT.setTextLimit(256);

		Label editFilm_searchActrorCharaterNameLBL = new Label(editMovie,
				SWT.NONE);
		editFilm_searchActrorCharaterNameLBL.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));
		editFilm_searchActrorCharaterNameLBL.setFont(SWTResourceManager
				.getFont("Segoe UI", 11, SWT.NORMAL));
		editFilm_searchActrorCharaterNameLBL.setBounds(685, 646, 135, 25);
		editFilm_searchActrorCharaterNameLBL.setText("Character name:");

		editFilm_setNameBTN = new Button(editMovie, SWT.NONE);
		editFilm_setNameBTN.setFont(SWTResourceManager.getFont("Segoe UI", 13,
				SWT.NORMAL));
		editFilm_setNameBTN.setBounds(935, 670, 50, 40);
		editFilm_setNameBTN.setText("Set");

		// ///////////////////////////////////////////////

		editFilm_releaseDateDT = new Spinner(editMovie, SWT.BORDER
				| SWT.DROP_DOWN);
		editFilm_releaseDateDT.setFont(SWTResourceManager.getFont("Segoe UI",
				12, SWT.NORMAL));
		editFilm_releaseDateDT.setMaximum(2045);
		editFilm_releaseDateDT.setMinimum(1901);
		editFilm_releaseDateDT.setBounds(442, 163, 140, 30);

		Label editFilm_estimatedLBL = new Label(editMovie, SWT.None);
		editFilm_estimatedLBL.setAlignment(SWT.CENTER);
		editFilm_estimatedLBL.setText("Estimated value");
		editFilm_estimatedLBL.setFont(SWTResourceManager.getFont("Segoe UI",
				15, SWT.NORMAL));
		editFilm_estimatedLBL.setBounds(402, 240, 220, 42);
		editFilm_estimatedLBL.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		Label editFilm_sequelLBL = new Label(editMovie, SWT.NONE);
		editFilm_sequelLBL.setAlignment(SWT.CENTER);
		editFilm_sequelLBL.setText("Sequel Film");
		editFilm_sequelLBL.setFont(SWTResourceManager.getFont("Segoe UI", 15,
				SWT.NORMAL));
		editFilm_sequelLBL.setBounds(402, 362, 220, 42);
		editFilm_sequelLBL.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		editFilm_estimatedSPN = new Spinner(editMovie, SWT.BORDER);
		editFilm_estimatedSPN.setFont(SWTResourceManager.getFont("Segoe UI",
				12, SWT.NORMAL));
		editFilm_estimatedSPN.setIncrement(10000);
		editFilm_estimatedSPN.setMaximum(1000000000);
		editFilm_estimatedSPN.setBounds(422, 285, 180, 40);

		Label editFilm_originCountryLBL = new Label(editMovie, SWT.NONE);
		editFilm_originCountryLBL.setAlignment(SWT.CENTER);
		editFilm_originCountryLBL.setText("Origin country");
		editFilm_originCountryLBL.setFont(SWTResourceManager.getFont(
				"Segoe UI", 15, SWT.NORMAL));
		editFilm_originCountryLBL.setBounds(78, 240, 220, 42);
		editFilm_originCountryLBL.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		Label editFilm_prequelLBL = new Label(editMovie, SWT.NONE);
		editFilm_prequelLBL.setAlignment(SWT.CENTER);
		editFilm_prequelLBL.setText("Prequel film");
		editFilm_prequelLBL.setFont(SWTResourceManager.getFont("Segoe UI", 15,
				SWT.NORMAL));
		editFilm_prequelLBL.setBounds(402, 480, 220, 42);
		editFilm_prequelLBL.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		editFilm_filmNameTXT = new Text(editMovie, SWT.BORDER);
		editFilm_filmNameTXT.setTextLimit(300);
		editFilm_filmNameTXT.setMessage("film name..");
		editFilm_filmNameTXT.setFont(SWTResourceManager.getFont("Segoe UI", 16,
				SWT.NORMAL));
		editFilm_filmNameTXT.setBounds(68, 163, 240, 40);

		editFilm_originCountryTXT = new Text(editMovie, SWT.NONE);
		editFilm_originCountryTXT.setTextLimit(256);
		editFilm_originCountryTXT.setMessage("origin country..");
		editFilm_originCountryTXT.setFont(SWTResourceManager.getFont(
				"Segoe UI", 16, SWT.NORMAL));
		editFilm_originCountryTXT.setBounds(68, 285, 240, 40);

		editFilm_commitBTN = new Button(editMovie, SWT.NONE);
		editFilm_commitBTN.setText("Save");
		editFilm_commitBTN.setBounds(522, 670, 90, 40);

		editFilm_addActorBTN = new Button(editMovie, SWT.NONE);
		editFilm_addActorBTN.setText("Add actor");
		editFilm_addActorBTN.setBounds(795, 145, 80, 35);

		editFilm_cencelBTN = new Button(editMovie, SWT.NONE);
		editFilm_cencelBTN.setText("return");
		editFilm_cencelBTN.setBounds(412, 670, 90, 40);

		editFilm_directorsTBL = new Table(editMovie, SWT.BORDER
				| SWT.FULL_SELECTION);
		editFilm_directorsTBL.setLinesVisible(true);
		editFilm_directorsTBL.setHeaderVisible(true);
		editFilm_directorsTBL.setBounds(113, 424, 150, 165);

		TableColumn tblclmnDirector = new TableColumn(editFilm_directorsTBL,
				SWT.NONE);
		tblclmnDirector.setWidth(140);
		tblclmnDirector.setText("director");

		editFilm_addDirectorBTN = new Button(editMovie, SWT.NONE);
		editFilm_addDirectorBTN.setText("Add director");
		editFilm_addDirectorBTN.setBounds(143, 379, 90, 35);

		editFilm_sequelTXT = new Text(editMovie, SWT.BORDER);
		editFilm_sequelTXT.setMessage("click to search..");
		editFilm_sequelTXT.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_WHITE));
		editFilm_sequelTXT.setFont(SWTResourceManager.getFont("Segoe UI", 13,
				SWT.NORMAL));
		editFilm_sequelTXT.setBounds(392, 525, 240, 40);

		editFilm_prequelTXT = new Text(editMovie, SWT.BORDER);
		editFilm_prequelTXT.setMessage("click to search..");
		editFilm_prequelTXT.setFont(SWTResourceManager.getFont("Segoe UI", 13,
				SWT.NORMAL));
		editFilm_prequelTXT.setBounds(392, 407, 240, 40);

		Label editFilm_separator2SEPA = new Label(editMovie, SWT.SEPARATOR);
		editFilm_separator2SEPA.setBounds(627, 118, 40, 530);
		editFilm_separator2SEPA.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		Label editFilm_separator1SEPA = new Label(editMovie, SWT.SEPARATOR);
		editFilm_separator1SEPA.setBounds(357, 118, 40, 530);
		editFilm_separator1SEPA.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		lblEditFilm = new Label(editMovie, SWT.NONE);
		lblEditFilm.setText("Edit Film");
		lblEditFilm.setFont(SWTResourceManager.getFont("Segoe UI", 30,
				SWT.NORMAL));
		lblEditFilm.setEnabled(false);
		lblEditFilm.setAlignment(SWT.CENTER);
		lblEditFilm.setBounds(212, 10, 600, 72);
		lblEditFilm.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		editFilm_loadingCNVS = new Canvas(editMovie, SWT.NONE);
		editFilm_loadingCNVS.setVisible(false);
		editFilm_loadingCNVS.setBounds(618, 674, 32, 32);

		loadingConnection = new Composite(shell, SWT.NONE);
		loadingConnection.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));

		loading_loaderCNVS = new Canvas(loadingConnection, SWT.NONE);
		loading_loaderCNVS.setBounds(93, 105, 64, 64);

		Label lblPreparingTheGame = new Label(loadingConnection, SWT.NONE);
		lblPreparingTheGame.setAlignment(SWT.CENTER);
		lblPreparingTheGame.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_TITLE_BACKGROUND));
		lblPreparingTheGame.setFont(SWTResourceManager.getFont("Segoe UI", 16,
				SWT.NORMAL));
		lblPreparingTheGame.setBounds(0, 15, 250, 90);
		lblPreparingTheGame.setText("Preparing the game\r\nplease wait");

		layout.topControl = loadingConnection;
	}

	public Button getStart_game_startBTN() {
		return start_game_startBTN;
	}

	public Display getDisplay() {
		return display;
	}

	public Button getNextLevel_nextBTN() {
		return nextLevel_nextBTN;
	}

	public Button getLoadingQuestion_continue() {
		return loadingQuestion_continue;
	}

	public Label getLoadingQuestion_loadingLBL() {
		return loadingQuestion_loadingLBL;
	}

	public Table getTable() {
		return userManagment_userTBL;
	}

	public void setTable(Table table) {
		this.userManagment_userTBL = table;
	}

	public Composite getMainScreen() {
		return mainScreen;
	}

	public Canvas getNextLevel_loadingCNVS() {
		return nextLevel_loadingCNVS;
	}

	public Canvas getStart_game_loadingCNVS() {
		return start_game_loadingCNVS;
	}

	public Canvas getLoadingQuestion_loadingCNVS() {
		return loadingQuestion_loadingCNVS;
	}
}
